//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    videoIsPlay: false, //视屏是否播放
    background: ['../../images/pre-index_2.jpg', '../../images/pre-index_1.jpg', '../../images/pre-index_3.jpg', '../../images/pre-index_4.jpg', '../../images/pre-index_5.jpg'],
  },
  onLoad: function() {

  },
  /**
   * @author: 魏申兰 [1506934670@qq.com]
   * @Date: 2019-12-11 10:04:02
   * @description: 视屏播放
   * @param {type} 
   * @update: 
   */
  playVideo() {
    this.setData({
      videoIsPlay: true
    })
  },
  /**
   * @author: 魏申兰 [1506934670@qq.com]
   * @Date: 2019-12-11 10:04:02
   * @description: 视屏播放完成
   * @param {type} 
   * @update: 
   */
  playOver() {
    this.setData({
      videoIsPlay: false
    })
  }
})